<%--
  Created by IntelliJ IDEA.
  User: cyy
  Date: 2020/3/16
  Time: 10:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
        <%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
    <c:set var="ctx" value="<%=basePath%>"  />
    <html>
    <head>
        <title>下级人员管理</title>
        <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css" />
        <link rel="stylesheet" href="/static/bootstrapTable/bootstrap-table.min.css">
        <link rel="stylesheet" href="/static/toastr/toastr.min.css">
        <script src="/static/js/jquery.min.js"></script>
        <script src="/static/bootstrap/js/bootstrap.min.js"></script>
        <script src="/static/bootstrapTable/bootstrap-table.min.js"></script>
        <script src="/static/bootstrapTable/bootstrap-table-zh-CN.min.js"></script>
        <script src="/static/toastr/toastr.min.js"></script>
        <script src="/static/js/admin/admin_businessInfo.js"></script>
        <style type="text/css">
            /*只显示纵向滑动条*/
            html { overflow-x: hidden; overflow-y: hidden; }
            /*striped : true 不生效
            nth-child 选择器匹配属于其父元素的第 N 个子元素*/
            #loadTable tr:nth-child(even){
                background: #F0F8FF;
            }
            #loadTable tr:nth-child(odd){
                background: #F0FFFF;
            }
            /*只显示纵向滑动条*/
            html { overflow-x: hidden; overflow-y: hidden; }
            .table > tbody > tr > td{padding: 1px}
        </style>
        <script type="application/javascript">
            var ctx= '${ctx}';
        </script>
    </head>
<body>
<div class="panel panel-default">
    <div class="panel-heading">
        查询条件
    </div>
    <div class="panel-body form-group" style="margin-bottom:0px;">
        <label class="col-md-1 control-label" style="text-align: right; margin-top:5px">名字：</label>
        <div class="col-md-2">
            <input type="text" class="form-control" name="Name" id="search_hotelName" autocomplete="off"/>
        </div>
        <label class="col-md-1 control-label" style="text-align: right; margin-top:5px">地址：</label>
        <div class="col-sm-2">
            <input type="text" class="form-control" name="Name" id="search_hotelAddess" autocomplete="off"/>
        </div>
        <label class="col-md-1 control-label" style="text-align: right; margin-top:5px">状态：</label>
        <div class="col-md-2">
            <select class="form-control" id="sel1">
                <option value="">全部</option>
                <option value="0">待审核</option>
                <option value="1">已通过</option>
            </select>
        </div>
        <div class="col-md-2">
            <button class="btn btn-primary pull-right" id="search_btn">查询</button>
        </div>
    </div>
</div>
<table id="loadTable" class="table table-hover"></table>
<!-- 模态框 -->
<div class="modal fade" id="businessInfoModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">打回理由</h4>
            </div>
            <div class="modal-body" id="active">
                <input type="hidden" id="hiddenBusinessInfo">
                <input type="checkbox" name="activing" id="error1" value="1" >预订价格过于高昂
                <input type="checkbox" name="activing" id="error2" value="2">服务设施不合要求
                <input type="checkbox" name="activing" id="error3" value="3">巡视结果不合要求
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" id="saveActive">保存</button>
            </div>
        </div>
    </div>
</div>
<%--详情模态框--%>
<div class="modal fade" id="scanInfoModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="scanInfoModalLabel">详情框</h4>
            </div>
            <div class="modal-body" >
                <form class="form-horizontal">
                    <div class="form-group">
                        <label  class="col-md-3 control-label">大床房数:</label>
                        <div class="col-md-8">
                            <input type="text" id="big" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">双人房数:</label>
                        <div class="col-md-8">
                            <input type="text" id="dou" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">商务房数:</label>
                        <div class="col-md-8">
                            <input type="text" id="cir" class="form-control" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">情侣房:</label>
                        <div class="col-md-8">
                            <input type="text" id="cou" class="form-control" />
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>
</body>
</html>


